﻿using PermissionManager.Attributes;
using PermissionsManager.Models;
using System.Web.Mvc;

namespace PermissionsManager
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());

            filters.Add(new LoginAuthorizeAttribute());

            filters.Add(new LogFilter());
        }
    }
}
